package top.glike.funct.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import top.glike.common.annotation.Excel;
import top.glike.common.core.domain.BaseEntity;

/**
 * 分类管理对象 gb_sorts
 * 
 * @author Sophia
 * @date 2024-02-13
 */
public class GbSorts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String sortName;

    /** 分类描述 */
    @Excel(name = "分类描述")
    private String sortDesc;

    /** 分类页面路径 */
    @Excel(name = "分类页面路径")
    private String sortPath;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setSortName(String sortName) 
    {
        this.sortName = sortName;
    }

    public String getSortName() 
    {
        return sortName;
    }
    public void setSortDesc(String sortDesc) 
    {
        this.sortDesc = sortDesc;
    }

    public String getSortDesc() 
    {
        return sortDesc;
    }
    public void setSortPath(String sortPath) 
    {
        this.sortPath = sortPath;
    }

    public String getSortPath() 
    {
        return sortPath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sortName", getSortName())
            .append("sortDesc", getSortDesc())
            .append("sortPath", getSortPath())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
